package com.io.convert;

/**
 * 序列化实体类
 *
 * @author jiangbang
 * @date 2016/6/3
 */
public class Employee implements  java.io.Serializable {
    private transient String name;//该字段不进行序列化
    private double salary;

    public Employee() {

    }

    public Employee(String name, double salary) {
        this.name = name;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}
